package com.agp.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("用户分页查询DTO")
public class UerPageQueryDTO {
    @ApiModelProperty(value = "用户昵称", example = "nickname",position = 1)
    private String nickname;

    @ApiModelProperty(value = "用户性别", example = "1：男，2：女",position = 2)
    private Integer gender;

    @ApiModelProperty(value = "用户状态", example = "1：正常，0：禁用",position = 3)
    private Integer status;

    @ApiModelProperty(value = "用户角色", example = "1：管理员，2：用户",position = 4)
    private Integer role;


    private Integer page;

    private Integer pageSize;
}
